package com.jk.controller;

import com.jk.service.QueryInterfaceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 位佳生
 * @title: QueryInterfaceController
 * @projectName springboot_financial
 * @description: TODO
 * @date 2022/11/919:00
 */
@RestController
@RequestMapping("query")
public class QueryInterfaceController {
    @Autowired
    private QueryInterfaceService queryInterfaceService;
    
    /*
    *
     * @Author 位佳生
     * @Description //TODO 查询用户是否实名认证
     * @Date 2022/11/9 19:07
     
     * @return: java.lang.Boolean
     **/
    @RequestMapping("queryUserCard")
    public Boolean queryUserCard(){
        return queryInterfaceService.queryUserCard();
    }
    /*
    *
     * @Author 位佳生
     * @Description //TODO查看用户是否设置登录密码
     * @Date 2022/11/9 19:07
     * @param null:
     * @return: null
     **/
    @RequestMapping("queryUserPwd")
    public Boolean queryUserPwd(){
        return queryInterfaceService.queryUserPwd();
    }
    /*
    *
     * @Author 位佳生
     * @Description //TODO查看用户是否设置邮箱
     * @Date 2022/11/9 19:09
     * @param null:
     * @return: null
     **/
    @RequestMapping("queryUserBox")
    public Boolean queryUserBox(){
        return queryInterfaceService.queryUserBox();
    }
    /*
     *
     * @Author 位佳生
     * @Description //TODO查看用户是否绑定银行卡
     * @Date 2022/11/9 19:09
     * @param null:
     * @return: null
     **/
    @RequestMapping("queryUserBankCard")
    public Boolean queryUserBankCard(){
        return queryInterfaceService.queryUserBankCard();
    }
    /*
    *
     * @Author 位佳生
     * @Description //TODO 查看用户师否设置交易密码
     * @Date 2022/11/9 19:19
     * @param null: 
     * @return: null
     **/
    @RequestMapping("queryUserWith")
    public Boolean queryUserWith(){
        return queryInterfaceService.queryUserWith();
    }
    /*
    *
     * @Author 位佳生
     * @Description //TODO 查看用户是否设置手机号
     * @Date 2022/11/9 19:21
     * @param null: 
     * @return: null
     **/
    @RequestMapping("queryUserPhone")
    public Boolean queryUserPhone(){
        return queryInterfaceService.queryUserPhone();
    }
}
